<template>
<div class="table">
    <div class="table-left">
        <x-table>
        <thead>
          <tr>
            <th>Product</th>
            <th>Price</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>Apple</td>
            <td>$1.25</td>
          </tr>
          <tr>
            <td>Banana</td>
            <td>$1.20</td>
          </tr>
        </tbody>
      </x-table>
    </div>
    <div class="table-right">
        <x-table>
            <thead>
            <tr>
                <th>Product</th>
                <th>Price</th>
                <th>Price</th>
                <th>Price</th>
                <th>Price</th>
                <th>Price</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>Apple</td>
                <td>$1.25</td>
                <td>$1.25</td>
                <td>$1.25</td>
                <td>$1.25</td>
                <td>$1.25</td>
            </tr>
            <tr>
                <td>Banana</td>
                <td>$1.20</td>
                <td>$1.20</td>
                <td>$1.20</td>
                <td>$1.20</td>
                <td>$1.20</td>
            </tr>
            </tbody>
      </x-table>
    </div>
</div>
</template>
<script>
    import { XTable } from 'vux'
    export default{
        name:'table',
        data(){
            return {}
        },
        components:{
            XTable
        },
        props:['info']
    }
</script>
